package com.yanhuo.search;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yanhuo.search.service.impl.esNoteServiceImpl;
import com.yanhuo.xo.vo.NoteSearchVo;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
import org.springframework.test.context.web.WebAppConfiguration;

/**
 *
 */

@RunWith(SpringRunner.class)
@SpringBootTest(classes = SearchApplication.class)
@WebAppConfiguration
public class SearchApplicationTest {

    @Autowired
    esNoteServiceImpl esNoteService;

    @Test
    public void test(){
         esNoteService.deleteNote("123");

    }

}
